#ifndef _CONFIG_H_
#define _CONFIG_H_

#include <string>

using namespace std;

class Configuration
{
public:
	int port;
	int control_port;
	int thread_count;
	int protocol;
	int version;
	int delay_buffer_num;
	string msg_queue_name;
	string first_dll_path;
	string second_dll_path;
	string first_dll_func;
	string second_dll_func;
	string dll_init_func;
	string dll_exit_func;
	string game_config_file;
	
private:
	string _config_file_name;

public:
	void Init(string &config_file_name);
	int ReadConfig();
};

#endif
